package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerDao {
    Integer selectCustomerCount(@Param("customerName") String customerName);

    List<Customer> selectCustomerList(@Param("customerName") String customerName);



    Customer getcustomer(@Param("customerName") String customerName);

    void saveCustomer( Customer customer);

    void updateCustomer(Customer customer);

    Integer deleteCustomer(@Param("split") String[] split);
}
